using System;
using System.Collections.Generic;
using System.Text;

using WozLib.UI.Ink.SketchObjects;

namespace WozLib.UI.Ink.SketchProperties
{
  public class LinkCascadingProperty : CascadingProperty
  {

    public LongSketchProperty LongWozProperty
    {
      get { return WozProperty as LongSketchProperty; }
      set { WozProperty = value; }
    }


    public LinkCascadingProperty(List<ISketchObject> iWozObjects, LongSketchProperty longWozProperty)
      : base(iWozObjects, longWozProperty)
    {
      if (WozPropertyVariants.Count > 1)
      {
        this.LongWozProperty.Data = 0;
      }
    }
  }
}